package com.simple.gateway.center.domian.auth.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目: simple-gateway-core
 *
 * 功能描述: 授权信息的token信息
 *
 * @author: WuChengXing
 *
 * @create: 2023-08-31 10:17
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AuthTokenInfoDTO {

    /**
     * 用户key
     */
    private String userKey;

    /**
     * 毫秒级别
     */
    private Long ttlMillis;

    private String token;
}
